package com.wechat.service.storage;

import java.io.File;

import org.springframework.beans.factory.InitializingBean;

import com.wechat.Cons;

public class SubjectAttachStorageService extends SubjectStorageService implements InitializingBean {

	protected File path;

	@Override
	public void afterPropertiesSet() throws Exception {
		this.path = new File(this.getStoragePath(), Cons.Attach_Name);
		if (!this.path.exists()) {
			this.path.mkdirs();
		}
	}
}
